/* begin i-button layout define */
.i-button {
    cursor: default;
    outline: none;
    display: inline-block;
    *zoom: 1; *display: inline; /* IE6/7 fake inline-block */
    text-align: left;
    -moz-user-select: none;
}

.i-button-state {
    position: relative;
}

.i-button-disabled {
    cursor: default;
}

.i-button .i-button-left,
.i-button .i-button-right {
    float: inherit;
    float: left;
    overflow: hidden;
}

.i-button .i-button-icon {
    font-size: 0;
    position: absolute;
    z-index: 1;
}
/* end i-button layout define */


/* 
 * CAUTION: IF EXSIT BELOW DEFINITIONS, BE KEEP IN ORDER
 * hover, focus, active, disabled
 *
 * "i-button-default" style class must be defined.
 * It is used for iButton className binding and dialog button binding by default.
 */
.i-button-default {
    cursor: pointer;
}

.i-button-default .i-button-left,
.i-button-default .i-button-right {
    height: 25px;
    background-image: url("ibutton.gif");
}

.i-button-default .i-button-left {
    padding-left: 20px;
    background-position: 0 0;
}

.i-button-default .i-button-right {
    padding-right: 20px;
    background-position: -180px 0;
}

.i-button-default .i-button-left-hover {
    background-position: -200px 0;
}

.i-button-default .i-button-right-hover {
    background-position: -380px 0;
}

.i-button-default .i-button-left-focus {
    background-position: -400px 0;
}

.i-button-default .i-button-right-focus {
    background-position: -580px 0;
}

.i-button-default .i-button-left-active {
    background-position: -600px 0;
}

.i-button-default .i-button-right-active {
    background-position: -780px 0;
}

.i-button-default .i-button-text {
    color: #000;
    font-size: 12px;
    line-height: 17px;
    padding-top: 5px;
}

.i-button-default .i-button-text-disabled {
    color: #ccc;
}